/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xyethniccate.param;
import java.time.LocalDateTime;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;

/**
* 族员的 关系排行参数类
 *
 * @author yanwei
 * @date 2023-05-05 15:44:28
*/
@Data
@ApiModel("族员的 关系排行 查询条件")
public class XyEthnicCateParam extends BaseParam {

    /**
     * 
     */
    @NotNull(message = "不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    @ApiModelProperty("")
    private String id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空，请检查joinName参数", groups = {add.class, edit.class})
    private String joinName;

    /**
     * 1=(母,妻),2=(兄妹),3=(儿排行),4=(女排行)
     */
    @NotNull(message = "1=(母,妻),2=(兄妹),3=(儿排行),4=(女排行)不能为空，请检查typeFlag参数", groups = {add.class, edit.class})
    private Integer typeFlag;

}
